package com.ruoyi.tcp.enums;

/**
 * @author 蒋翔 SY100242
 * @date 2024/8/7 17:26
 * @email SY100242@hnlens.com
 */
public enum TcpTypeStrEnum {
    BEAT("0x1","心跳"),
    DEVICE_CONNECTION("0x2","RFID 设备进入"),
    RESPONSE("0x3","响应"),
    TIME_SYNC("0x5","时间同步指令")
    ;


    TcpTypeStrEnum(String value, String name) {
        this.value = value;
        this.name = name;
    }

    private String value;
    private String name;

    public String getValue() {
        return value;
    }
    public String getName() {
        return name;
    }
}
